package com.spica.platform.base.encrypt.encryptbody.exception;

import com.spica.platform.base.exception.errorcode.IErrorCode;
import com.spica.platform.base.exception.instance.AbstractBaseException;

/**
 * <p>解密数据失败异常</p>
 */
public class DecryptBodyFailException extends AbstractBaseException {

    public DecryptBodyFailException() {
        super(DecryptRtnCodEnum.ENHANCE_DECRYPT_ERROR);
    }

    public DecryptBodyFailException(IErrorCode errorCode, String message) {
        super(errorCode, message);
    }

    public DecryptBodyFailException(IErrorCode errorCode) {
        super(errorCode);
    }
}